package com.itheima.ood.keywords.demo02;
//同一个包的子类
public class NewStudent extends Student {

    public static void main(String[] args) {

        Student student = new Student();
//        student.show();
        student.function();
        student.method();
        student.sleep();
    }
}
